/**
 * $RCSfile$
 * $Revision$
 * $Date$
 * $Source$
 * $Author$
 */
package pl.edu.agh.loganalizator.model;

/**
 * Regola okreslająca relacje nierownosci
 * @author sadzio
 *
 */
public class NotEqualsRule extends Rule {

  public NotEqualsRule() {
    super();
  }

  @Override
  public String toString() {
    return "NotEqualsRule:" + column.toString() + "!=" + stringValue;
  }

  public boolean isParsePositive(Row row) {
    return !row.getRovValue(column).equals(stringValue);
  }

  public String getName() {
    return "NotEqualsRule";
  }

}
